* hftctl.c (hft_alrm): Declare and define this to return void, not
authorJim Blandy <jimb@redhat.com>
Sun, 30 May 1993 20:16:09 +0000 (20:16 +0000)
committerJim Blandy <jimb@redhat.com>
Sun, 30 May 1993 20:16:09 +0000 (20:16 +0000)
int; the AIX #include files have prototypes for it.

src/hftctl.c

index 1b460500b0c40d68fd7cbacee7cbc7d590ac24fe..679f56245e7cc2cf7877ecb9a945bd165c9a42ae 100644 (file)
@@ -110,7 +110,7 @@ static struct hfctlack  ACK =
 #ifdef __STDC__
 static GT_ACK (int fd, int req, char *buf);
 static WR_REQ (int fd, int request, int cmdlen, char *cmd, int resplen);
-static hft_alrm(int sig);
+static void hft_alrm(int sig);
 #else
 static GT_ACK ();
 static WR_REQ ();
@@ -275,9 +275,9 @@ GT_ACK (fd, req, buf)
 }
 
 /*************** HFT_ALRM FUNCTION ******************************/
-static int
-hft_alrm (sig)                    /* Function hft_alrm - handle  */
-        int sig;               /* alarm signal               */
+static void
+hft_alrm (sig)                  /* Function hft_alrm - handle */
+     int sig;                  /* alarm signal               */
 {
   signal (SIGALRM, sav_alrm);  /* reset to previous          */